<?php
/**
 * Created by PhpStorm.
 * User: guokunsheng
 * Date: 2018/6/7
 * Time: 17:30
 */

namespace app\web\controller;

use \think\Controller;

class FortuneMonth extends Controller
{
    public function index()
    {
        $v = input('v/d');//版本号可能不存在
        if (!empty($v) && $v === 1)
        {
            $month_demo = config('fortune.month_demo' . $v);
        } else
        {
            $month_demo = config('fortune.month_demo');
        }
        return $this->fetch('index', ['month_demo' => $month_demo]);
    }
}
